package com.chat.service;

import com.chat.entry.dto.friend.AddFriendDTO;
import com.chat.entry.po.Friend;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chat.result.Result;

/**
 * <p>
 * 好友表 服务类
 * </p>
 *
 * @author author
 * @since 2025-08-21
 */
public interface IFriendService extends IService<Friend> {

    Result searchFriend(Integer userId,String username);

    Result sendAddFriend(AddFriendDTO addFriendDTO);

    Result agreeFriend(AddFriendDTO addFriendDTO);

    Result refuseFriend(AddFriendDTO addFriendDTO);

    Result queryFriendApplication(Integer uid);

    Result queryFriend(Integer uid);
}
